import http from '../utils/request'
// 获取团购列表
const getGroupList = function(data){
    return http.get('/api/group/list',data)
};
// 修改状态
const groupChange = function(data) {
    return http.post('/api/group/change',data)
}
// 删除团购
const delGroup = function(data) {
    return http.post('/api/del/group',data)
}

const districtsApi = {
    getGroupList,
    groupChange,
    delGroup
}

export default districtsApi